package com.wzp.weiliao.mapper;

import com.wzp.weiliao.entity.FriendsRequest;
import com.wzp.weiliao.entity.Users;
import com.wzp.weiliao.entity.vo.FriendRequestVo;
import com.wzp.weiliao.entity.vo.MyFriendsVo;
import com.wzp.weiliao.utils.MyMapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author 王振鹏
 * @version 1.0
 * @date 2019/8/14 15:46
 * @Description: 自定义mapping
 */
@Component
public interface UsersMapperCustom  extends MyMapper<Users> {
    List<FriendRequestVo> queryFriendRequestList(String acceptUserId);

    List<MyFriendsVo> queryMyFriends(String userId);

    void batchUpdateMsgSigned(List<String> msgIdList);

}
